<html>
	<head>
		<title>Graficos Company24h Seguimiento de Ventas</title>
	</head>
<body>
<?php 
  $semanaFiltro = $this->session->userdata('semAc');
?>

<table>
<form action="graficoseguimientosventas" name="commentForm" method="post"/>
<tr>

<td>
<?php echo form_open("graficosseguimientosventas", array('name' => 'commentForm','id' => 'commentForm'));?> 
  Semanas:<select name="semanas">
           <option value="9"  <?php if ($semanaFiltro == 9):?>selected="selected"<?php endif;?>>10</option>
           <option value="15" <?php if ($semanaFiltro == 15):?>selected="selected"<?php endif;?>>16</option>
           <option value="25" <?php if ($semanaFiltro == 25):?>selected="selected"<?php endif;?>>26</option>
           <option value="51" <?php if ($semanaFiltro == 51):?>selected="selected"<?php endif;?>>52</option>
 </select>
 
 Usuarios:<select name="idusuario">
           <option value="17" <?php if($opcion == 17):echo "selected";?><?php endif;?>>Maddelin Soto</option>
           <option value="14" <?php if($opcion == 14):echo "selected";?><?php endif;?>>Maria Amador</option>
           <option value="8"  <?php if($opcion == 8): echo "selected";?><?php endif;?>>Charleni Perez</option>
           <option value="22" <?php if($opcion == 22):echo "selected";?><?php endif;?>>Lorraine Castellanos</option>
           <option value="0"  <?php if($opcion == 0): echo "selected";?><?php endif;?>>Todos</option>
 </select>
 <input type="submit" value="Buscar"/><br/>

 <?php if($this->session->userdata('semAc')){?>
		
         
 	  						<b style="color:blue">Semana:</b>
                            <b style="color:red"><?php echo "El numero de Semana es: ".$semanaFiltro+=1; ?></b>
 
 <?php  }?>
  </td>
 	</tr>
	 </form>

			<tr>
			    <td><?php echo $seguimietoTi;?></td>
				<td><?php echo $seguitoInbo;?></td>
				
			</tr>
		
			<tr>
				<td><?php echo $seguimGest;?></td>
				<td><?php echo $ventasPromIn;?></td>
			</tr>
			
			<tr>
				<td><?php echo $seguiInb;?></td>
				<td><?php echo $ventasSeg;?></td>
			</tr>
			
			<tr>
				<td><?php echo $ventasGestor;?></td>
				<td><?php echo $seguiDiasSe;?></td>
			</tr>
			
			<tr>
				<td colspan="2"><?php echo $porHoras;?></td>
			</tr>
			
			<tr>
			<td colspan="2"><?php echo $seguiDias;?></td>
			</tr>
			
			</table>
	 </body>
</html>




